package com.dimples.dd.system.model.query;

import cn.hutool.core.date.DatePattern;
import com.dimples.dd.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2024/12/26
 */
@Schema(description = "我的站内信分页 Query")
@Data
public class NotifyMessageMyPageQuery extends PageParam {

    @Schema(description = "是否已读", example = "true")
    private Boolean readStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private LocalDateTime[] createTime;
}
